package com.wash.shoes.controller.pc;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.common.core.domain.R;
import com.wash.shoes.entity.MtDeveloper;
import com.wash.shoes.service.MtDeveloperService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @author zhengyunpeng
 * @since 2024-08-27
 */
@Api(tags = {"PC-开发者信息"})
@RestController
@RequestMapping("/developer")
public class DeveloperController {

    @Resource
    MtDeveloperService mtDeveloperService;

    @ApiOperation("开发者列表,只有查询没有修改")
    @PostMapping("/list")
    public R<Page<MtDeveloper>> pageList(@RequestBody MtDeveloper mtDeveloper) {
        Page<MtDeveloper> page = mtDeveloperService.pageList(mtDeveloper);
        return R.ok(page);
    }

}

